﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CustomModel
{
    /// <summary>
    /// 回复帖子模型
    /// </summary>
    public class CommentModel
    {

        /// <summary>
        /// 帖子id
        /// </summary>
        public int CommentID { get; set; }

        /// <summary>
        /// 回帖人id，
        /// </summary>
        public int Commenter_ID { get; set; }

        /// <summary>
        /// 自己的ID
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 回帖人头像
        /// </summary>
        public string Commenter_Img { get; set; }

        /// <summary>
        /// 回帖人姓名
        /// </summary>
        public string Commenter_Name { get; set; }

        /// <summary>
        /// 当前的内容回复给谁
        /// </summary>
        public string TargetUserName { get; set; }

        /// <summary>
        /// 当前的内容回复给谁 的那个人的id
        /// </summary>
        public int TargetUserId { get; set; }

        /// <summary>
        /// 回帖时间
        /// </summary>
        public string Comment_Time { get; set; }

        /// <summary>
        /// 回帖内容
        /// </summary>
        public string Comment_Content { get; set; }

        /// <summary>
        /// 父节点
        /// </summary>
        public int ParentId { get; set; }

        public List<CommentModel> Nodes { get; set; }

    }
}
